package model;

public class ResponseBodyMessage<T> {
    private Boolean status;
    private String message;
    private T data;

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public ResponseBodyMessage(Boolean status, String message, T data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    @Override
    public String toString() {
        return "status=" + this.status + ";" + "message=" + this.message + ";" + "data=" + this.data;
    }
}
